
#ifndef SESSION_SERVER_H
#define SESSION_SERVER_H
#include "udp-client.h"
#include "session-mng.h"


void *session_process(void *param);
void *data_process(void *param);
int output_session(uint8_t *buff,int size);
int session_server_init();
#define MAX_LINK_ADJUST_NUM 5

typedef struct session_server
{
	SESSION_INFO sinfo;
	HASHMAP_NODE node;
	uint32_t srcip; /*key*/
	int portamap; /*port avalibe bitmap*/
	uint64_t pktidx;
	HASHMAP_MNG *streammng;
}SESSION_SERVER;
#endif
